package com.verlet.web.fegin;

import com.verlet.web.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "service-provider", configuration = FeignConfiguration.class)
public interface NacosFeignService {

    @GetMapping(value = "/nacos/getApplicationName")
    String getNacosApplicationName();

    @GetMapping(value = "/nacos/getConfig")
    String getConfig();
}
